package object;

public class Demo {
    public static void main(String[] args) {
        point point = new point(5,6);
        String line = point.toString();
        System.out.println(line);
        String line1 =point + "对象";
        System.out.println(line1);
        point point1 = new point(5,6);
        System.out.println(point1 == point);
        System.out.println(point1.equals(point));
    }

}
